package com.googlecode.autopp.driver.test;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * POJO with static inner classes.
 */
public class Pojo2 {
    private String pojo2;
    private Pojo21 pojo21;

    public String getPojo2() {
        return pojo2;
    }

    public void setPojo2(String pojo2) {
        this.pojo2 = pojo2;
    }

    public Pojo21 getPojo21() {
        return pojo21;
    }

    public void setPojo21(Pojo21 pojo21) {
        this.pojo21 = pojo21;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

    public static class Pojo21 {
        private String pojo21;
        private Pojo22 pojo22;

        public String getPojo21() {
            return pojo21;
        }

        public void setPojo21(String pojo21) {
            this.pojo21 = pojo21;
        }

        public Pojo22 getPojo22() {
            return pojo22;
        }

        public void setPojo22(Pojo22 pojo22) {
            this.pojo22 = pojo22;
        }

        @Override
        public String toString() {
            return ToStringBuilder.reflectionToString(this);
        }

    }

    public static class Pojo22 {
        private String pojo22;
        private Pojo23 pojo23;

        public String getPojo22() {
            return pojo22;
        }

        public void setPojo22(String pojo22) {
            this.pojo22 = pojo22;
        }

        public Pojo23 getPojo23() {
            return pojo23;
        }

        public void setPojo23(Pojo23 pojo23) {
            this.pojo23 = pojo23;
        }

        @Override
        public String toString() {
            return ToStringBuilder.reflectionToString(this);
        }
    }

    public static class Pojo23 {
        private String pojo23;

        public String getPojo23() {
            return pojo23;
        }

        public void setPojo23(String pojo23) {
            this.pojo23 = pojo23;
        }

        @Override
        public String toString() {
            return ToStringBuilder.reflectionToString(this);
        }
    }
}
